package com.example.test2.entity;

import com.google.gson.annotations.SerializedName;
import com.google.gson.JsonArray;

public class DictResponse {
    @SerializedName("code")
    private int code;
    @SerializedName("result")
    private Result result;
    @SerializedName("msg")
    private String msg;

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public static class Result {
        @SerializedName("ret_code")
        private String retCode;
        @SerializedName("remark")
        private String remark;
        @SerializedName("hanzi")
        private String hanzi;
        @SerializedName("pinyin")
        private String pinyin;
        @SerializedName("bihua")
        private String bihua;
        @SerializedName("bushou")
        private String bushou;
        @SerializedName("words")
        private String words;
        @SerializedName("basic_explain")
        private JsonArray basicExplain;
        @SerializedName("detail_explain")
        private JsonArray detailExplain;
        @SerializedName("url")
        private String url;

        // Getters and Setters
        public String getRetCode() {
            return retCode;
        }

        public String getRemark() {
            return remark;
        }

        public String getHanzi() {
            return hanzi;
        }

        public String getPinyin() {
            return pinyin;
        }

        public String getBihua() {
            return bihua;
        }

        public String getBushou() {
            return bushou;
        }

        public String getWords() {
            return words;
        }

        public JsonArray getBasicExplain() {
            return basicExplain;
        }

        public JsonArray getDetailExplain() {
            return detailExplain;
        }

        public String getUrl() {
            return url;
        }
    }
}
